07. Routing

Routing

INSTRUCTOR NOTE:

Since the HelloWorld(restaurant_id) didn't make much sense, I changed it to restaurantMenu(restaurant_id) in the solution code.

Before you run the code, make sure to wipe your database and re-initialize it with lotsofmenus.py! The changes made in in the previous videos will prevent the code from working otherwise.

Flask Documentation on Routing :

http://flask.pocoo.org/docs/0.10/quickstart/#routing

Code from this lesson:

https://github.com/udacity/Full-Stack-Foundations/blob/master/Lesson-3/04_Routing/project.py